package com.phantasy.scene.sceneUnit
{
	import com.phantasy.scene.sceneUnit.baseUnit.MutualAvatar;
	
	public class Animal extends MutualAvatar
	{
		//当前状态
		private var _curState:int;
		
		public var speed:Number;//移动速度
		public function Animal()
		{
			super();
		}
		/**
		 *设置当前状态 
		 * @param state
		 * 
		 */		
		public function set curState(state:int):void
		{
			if (this._curState != state)
			{
				this._curState = state;
			}
		}
		/**
		 *获取当前状态 
		 * @return 
		 * 
		 */		
		public function get curState():int
		{
			return this._curState;
		}
		
		protected function loop():void
		{
			
		}
		
		override public function die():void
		{
			
		}
	}
}